package com.zenithmind.user.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(description = "用户个人资料更新DTO")
public class UserProfileUpdateDTO {

    @Size(max = 50, message = "昵称长度不能超过50个字符")
    @Schema(description = "用户昵称")
    private String nickname;

    @Email(message = "邮箱格式不正确")
    @Size(max = 100, message = "邮箱长度不能超过100个字符")
    @Schema(description = "用户邮箱")
    private String email;

    @Size(max = 20, message = "手机号长度不能超过20个字符")
    @Schema(description = "用户手机号")
    private String mobile; // Consider adding regex pattern validation

    @Schema(description = "用户头像URL")
    private String avatar;

    @Size(max = 255, message = "个人简介长度不能超过255个字符")
    @Schema(description = "个人简介")
    private String intro;
} 